package com.wuliang.generate.bean.vo.system;

import com.google.gson.annotations.Expose;
import com.wuliang.generate.bean.entities.system.SystemMenu;
import com.wuliang.generate.common.core.basic.BaseVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * @author WuLiang
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "前后端交互参数——菜单")
public class SystemMenuVo extends BaseVo<SystemMenu> {

    @Expose
    @ApiModelProperty(name = "menuName", value = "菜单名称", dataType = "string")
    private String menuName = "";

    @Expose
    @ApiModelProperty(name = "menuLevel", value = "菜单等级", dataType = "int")
    private Integer menuLevel = 0;

    @Expose
    @ApiModelProperty(name = "menuPath", value = "菜单路径", dataType = "string")
    private String menuPath = "";

    @Expose
    @ApiModelProperty(name = "parentMenu", value = "父级菜单", dataType = "object")
    private SystemMenu parentMenu = null;

}
